﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@

@{
    ViewData["Title"] = "Login";
}

@model ArsenalManagement.Models.User

<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<title>DASHMIN - Bootstrap Admin Template</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">



<link rel="preconnect" href="https://fonts.googleapis.com/">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin="">
<link href="~/css/css2.css" rel="stylesheet">

<link href="~/css/all.min.css" rel="stylesheet">
<link href="~/css/bootstrap-icons.css" rel="stylesheet">

<link href="~/css/owl.carousel.min.css" rel="stylesheet">
<link href="~/css/tempusdominus-bootstrap-4.min.css" rel="stylesheet">

<link href="~/css/bootstrap.min.css" rel="stylesheet">

<link href="~/css/style.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid position-relative bg-white d-flex p-0">

<div id="spinner" class="show bg-white position-fixed translate-middle w-100 vh-100 top-50 start-50 d-flex align-items-center justify-content-center">
<div class="spinner-border text-primary" style="width: 3rem; height: 3rem;" role="status">
<span class="sr-only">加载中...</span>
</div>
</div>


<div class="container-fluid">
<div class="row h-100 align-items-center justify-content-center" style="min-height: 100vh;">
<div class="col-12 col-sm-8 col-md-6 col-lg-5 col-xl-4">
<div class="bg-light rounded p-4 p-sm-5 my-4 mx-3">
    <div class="d-flex align-items-center justify-content-between mb-3">
    <a href="index1.html" class="">
    <h3 class="text-primary"><i class="fa fa-hashtag me-2"></i>军械库系统</h3>
    </a>
    <h3>登录</h3>
    </div>
    <div class="form-floating mb-3">
        <form asp-action="Login">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
                <div class="form-group">
                    <label asp-for="Username" class="control-label">用户名：</label>
                    <input asp-for="Username" class="form-control" />
                    <span asp-validation-for="Username" class="text-danger"></span>
                </div>
                <div class="form-group">
                    <label asp-for="Password" class="control-label">密码：</label>
                    <input asp-for="Password" type="password" class="form-control" />
                    <span asp-validation-for="Password" class="text-danger"></span>
                </div>

                @ViewData["msg"]
                <div class="form-group">
                    <input type="submit" value="登录" class="btn btn-primary py-3 w-100 mb-4" />
                </div>
                <p class="text-center mb-0">没有账号？ <a asp-action="Create">注册</a></p>

        </form>
    </div>    

</div>

</div>
</div>
</div>

</div>

<script src="~/js/jquery-3.4.1.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/bootstrap.bundle.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/chart.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/easing.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/waypoints.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/owl.carousel.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/moment.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/moment-timezone.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/tempusdominus-bootstrap-4.min.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>

<script src="~/js/main.js" type="3029259e35d7bc1c98cd40a8-text/javascript"></script>
<script src="~/js/rocket-loader.min.js" data-cf-settings="3029259e35d7bc1c98cd40a8-|49" defer=""></script></body>
</html>